package com.example.gyt.dao;

import com.example.gyt.pojo.Newsl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NewslMapper {
    int deleteByPrimaryKey(String id);

    int insert(Newsl record);

    int insertSelective(Newsl record);

    Newsl selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Newsl record);

    int updateByPrimaryKey(Newsl record);

    List<Newsl> getAllNewslList(Newsl record);

    int queryCountLike(Newsl record);
}